package main 

import (
	"fmt"
)

func test(n1 int){

	//n2:=n1+1
	n1=n1+1
	fmt.Println("test n1=",n1)
}

func getSum(a int,b int) int{
	sum:=a+b 
	fmt.Println("geteSum=",sum)
	return sum
}

func getSumAndSub(a int,b int) (int,int){

	sum:=a+b 
	sub:=a-b 
	return sum,sub
}
func main(){

	n1:=10
	test(n1)
	fmt.Println("main n1=",n1)

	sum:=getSum(1,2)
	fmt.Println("main sum=",sum)

	res1,res2:=getSumAndSub(1,2)
	fmt.Printf("res1=%v,res2=%v\n",res1,res2)

	_,res3:=getSumAndSub(1,2)
	fmt.Printf("res3=%v\n",res3)
}